import { defineStore } from 'pinia';

const useMapStore = defineStore('storeMap', {
  state: () => ({
    mode: '3d', //二三维
  }),
  actions: {
    CHANGE_MODE(payload) {
      this.mode = payload;
    },
  },
});

export default useMapStore;
